package com.entity;


import org.apache.ibatis.type.Alias;

@Alias("BaseColumn")
public class Column extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	private String id;

	/**
	 * 栏目名称
	 */
	private String columnName;
	
	/**
	 * 上级栏目
	 */
	private String higherColumnId;

	/**
	 * 创建时间
	 */
	private String createTime;

	/**
	 * 栏目封面
	 */
	private String cover;

	/**
	 * 上级菜单名称
	 */
	private String higherColumnName;
	
	public Column () {
		super();
	}

	public Column (String id,String columnName,String createTime,String columnCover) {
		this.id = id;
		this.columnName = columnName;
		this.createTime = createTime;
		this.cover = columnCover;
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getHigherColumnName() {
		return higherColumnName;
	}

	public void setHigherColumnName(String higherColumnName) {
		this.higherColumnName = higherColumnName;
	}

	public String getColumnName() {
		return this.columnName;
	}

	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}

	public String getHigherColumnId() {
		return higherColumnId;
	}

	public void setHigherColumnId(String higherColumnId) {
		this.higherColumnId = higherColumnId;
	}

	public String getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	
	public String getCover() {
		return cover;
	}

	public void setCover(String cover) {
		this.cover = cover;
	}

	@Override
	public String toString() {
		return "Column [id=" + id + ", columnName=" + columnName
				+ ", higherColumnId=" + higherColumnId + ", createTime="
				+ createTime + ", cover=" + cover + ", higherColumnName="
				+ higherColumnName + "]";
	}


}

